package controller;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet(name = "JspServlet",urlPatterns = "/index")
public class JspServlet extends HttpServlet {

    protected void doGet(HttpServletRequest req, HttpServletResponse red){
        String id = req.getParameter("name");
        System.out.println(id);

    }

    protected void doPost(HttpServletRequest req,HttpServletResponse red){

    }
}
